package com.inkrl.collect.mapper;

import com.jt.common.pojo.Book;
import com.jt.common.pojo.Collect;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CollectMapper {
    List<Book> selectByIsbn();

    Collect selectByIsbnAndUserid(@Param("product") String isbn, @Param("userId")String userId);

    void insertCollect(@Param("product") String isbn, @Param("userId")String userId);

    void deleteCollect(@Param("product") String isbn, @Param("userId")String userId);
}
